package com.example.shopping.pojo;

/*
Create by 苍狼 于 2020/1/16
站在巅峰看世界，
落在深渊思人生。
*/
//商品表
public class Commodity {
    //商品表
    private int id;
    private String name;
    //价格
    private int price;
    //一级目录
    private String classificationOne;
    //二级目录
    private String classificationTwo;
    //三级目录
    private String classificationThree;
    //支付状态
    private int status;

    @Override
    public String toString() {
        return "Commodity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", classificationOne='" + classificationOne + '\'' +
                ", classificationTwo='" + classificationTwo + '\'' +
                ", classificationThree='" + classificationThree + '\'' +
                ", status=" + status +
                '}';
    }

    public Commodity() {
    }

    public Commodity(int id, String name, int price, String classificationOne, String classificationTwo, String classificationThree, int status) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.classificationOne = classificationOne;
        this.classificationTwo = classificationTwo;
        this.classificationThree = classificationThree;
        this.status = status;
    }

    public int getId() {
        return id;
    }


    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getClassificationOne() {
        return classificationOne;
    }

    public void setClassificationOne(String classificationOne) {
        this.classificationOne = classificationOne;
    }

    public String getClassificationTwo() {
        return classificationTwo;
    }

    public void setClassificationTwo(String classificationTwo) {
        this.classificationTwo = classificationTwo;
    }

    public String getClassificationThree() {
        return classificationThree;
    }

    public void setClassificationThree(String classificationThree) {
        this.classificationThree = classificationThree;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
